@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  color: #333;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
}
.container {
  max-width: 700px;
  width: 100%;
  margin: 40px auto 0 auto;
  box-sizing: border-box;
}
header {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(120deg, #1a6dcc, #2c3e50);
  color: white;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}
.form-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 30px;
  margin-bottom: 40px;
}
.form-section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}
.form-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  display: flex;
  align-items: center;
}
.form-section h2 i {
  margin-right: 10px;
  color: #3498db;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.form-group {
  flex: 1 0 calc(50% - 20px);
  margin: 0 10px 20px;
  min-width: 250px;
}
.form-group.full-width {
  flex: 1 0 calc(100% - 20px);
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}
label.required:after {
  content: " *";
  color: #e74c3c;
}
input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s;
}
input:focus, select:focus, textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}
.checkbox-item, .radio-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.checkbox-item input, .radio-item input {
  width: auto;
  margin-right: 8px;
}
.toggle-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  margin-top: 15px;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.info-type-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.type-card {
  flex: 1;
  padding: 25px;
  border: 2px solid #e0e6ed;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}
.type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.type-card.selected {
  border-color: #3498db;
  background: #f0f8ff;
}
.type-card i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 15px;
}
.type-card h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}
.type-card p {
  color: #7f8c8d;
}
.declaration {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}
.declaration-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.declaration-item input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.btn {
  padding: 14px 35px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit {
  background: linear-gradient(120deg, #3498db, #1a6dcc);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
.btn-reset {
  background: #f1f2f6;
  color: #7f8c8d;
  border: 1px solid #ddd;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0,0,0,0.1);
}
.btn-submit:hover {
  background: linear-gradient(120deg, #2980b9, #155a9e);
}
.btn-reset:hover {
  background: #e8eaed;
}
footer {
  text-align: center;
  color: #7f8c8d;
  padding: 20px;
  font-size: 0.9rem;
}
.form-notice {
  background: #fff8e6;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
}
.form-notice i {
  color: #ffc107;
  margin-right: 10px;
}
@media (max-width: 768px) {
  .form-group {
    flex: 1 0 100%;
  }
  .type-card {
    margin-bottom: 15px;
  }
  .info-type-selector {
    flex-direction: column;
  }
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}
.popup-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  width: 420px;
  max-width: 90%;
  padding: 0;
  animation: popIn 0.3s ease;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.popup-header {
  padding: 20px 20px 10px;
  display: flex;
  align-items: center;
}
.popup-icon {
  margin-right: 12px;
  font-size: 24px;
}
.popup-icon.success {
  color: #67C23A;
}
.popup-icon.error {
  color: #F56C6C;
}
.popup-icon.info {
  color: #909399;
}
.popup-title {
  font-size: 18px;
  font-weight: bold;
  color: #303133;
}
.popup-content {
  padding: 10px 20px 20px;
  font-size: 16px;
  color: #606266;
  line-height: 1.5;
}
.popup-footer {
  padding: 10px 20px 20px;
  text-align: right;
}
.popup-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #FFF;
  border: 1px solid #DCDFE6;
  color: #606266;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: .1s;
  font-weight: 500;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
}
.popup-btn.primary {
  color: #FFF;
  background-color: #409EFF;
  border-color: #409EFF;
}
.popup-btn.primary:hover {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #FFF;
}
.popup-btn.success {
  color: #FFF;
  background-color: #67C23A;
  border-color: #67C23A;
}
.popup-btn.error {
  color: #FFF;
  background-color: #F56C6C;
  border-color: #F56C6C;
}

/* 加载图标样式 */
.loading-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-spinner p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 复制按钮样式 */
.zhipu-content-footer {
  display: flex;
  justify-content: center;
  padding: 16px 24px 0 24px;
  border-top: 1px solid #f0f0f0;
  margin-top: 16px;
}

.copy-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover:not(:disabled) {
  background: #2980b9;
  transform: translateY(-1px);
}

.copy-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
}

.copy-success {
  color: #27ae60;
  font-weight: 500;
}

.zhipu-content-text {
  padding: 16px 24px;
  max-height: 350px;
  overflow-y: auto;
}